<?php
require_once "./lib/DBManager.php";
$dbmanager=new DBManager;
$products =$dbmanager->getAllProducts();
$units = $dbmanager->getAllUnits();
//$res->data_seek(0);
/*while ($row = $res->fetch_assoc()) {
    echo " id = " . $row['id'] . "\n";
} */
$content_data["products_ds"]=$products;
$content_data["units_ds"]=$units;
$content_data["content_page"]="page/dict_product_page.php";
include "base.php";
?>